home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
art&graf.ix
/
art-3488
/
macros
/
demo9.aim
< prev
next >
Wrap
Text File
|
1990-10-13
|
768b
|
19 lines
* demo of image analysis
*
read cermet a * read cermet image
clear b * clear the bitplanes
thr * theshold the image (using defaults)
inv 1 * make objects white (default: image B)
propag 511,2,1,8,1,b * propagate the edge
exor 1,2,1 * remove object connected to the edge
bcopy 1 2 b b * make a mask bitplane
ero 3 1 6 0 b * remove small objects
propag 100 1 2 6 0 b * propagate the remaining objects
measure * measure the white objects
don 2 * automatic stretching
label b,c,1,8 * "label" the objects
don * back to normal display
* .. effective at the next
* .. display operation